package com.ndkj.provider.service;

import com.ndkj.provider.service.impl.ProviderServiceImpl;
import com.ndkj.providercommon.client.ProviderService;
import com.ndkj.rpcserver.BootStrap;

public class ProviderApplication {

    /**当前调用方法的环境和版本号*/
    private static final String CURRENT_VERSION = "1.0.0.daily";

    /**
     * TODO: Step 1
     * 完成服务注册，启动RPC-Server模块下的tomcat并hold住，由RPC-Server完成泛化调用
     * Unable to establish loopback connection：关闭网络防火墙
     */
    public static void main(String[] args) {
        BootStrap.start(ProviderService.class, ProviderServiceImpl.class, CURRENT_VERSION);
    }

}
